how solve heat equation by separation of variable